﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TuShuoEdit.aspx.cs" Inherits="ZHDJ.BranchCenter.Module.TuShuo.TuShuoEdit" %>

<!DOCTYPE html>
<html>
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server" style="background-color: #0000FF">
        <f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
        <f:Panel ID="Panel1" ShowBorder="false" ShowHeader="false" AutoScroll="true" runat="server">
            <Items>
                <f:SimpleForm ID="SimpleForm1" ShowBorder="false" ShowHeader="false" runat="server"
                    BodyPadding="10px" Title="SimpleForm">
                    <Items>
                        <f:FileUpload runat="server" LabelAlign="right" EmptyText="请选择一张图片" ID="filePhoto" ShowRedStar="true"
                            Label="上传图片" LabelWidth="80px"
                            ButtonText="图片" Required="true" ButtonIcon="ImageAdd"
                            AutoPostBack="true" OnFileSelected="filePhoto_FileSelected" AcceptFileTypes="image/*">
                        </f:FileUpload>
                        <f:HyperLinkImagePreview runat="server" ID="HyperLink1" CssStyle="cursor:pointer"
                            ShowEmptyLabel="true" LabelAlign="right" Text="查看图片" LabelWidth="80px">
                        </f:HyperLinkImagePreview>
                        <f:TextArea ID="txtDescription" Label="描述" runat="server" LabelAlign="Right" LabelWidth="80px">
                        </f:TextArea>
                    </Items>
                </f:SimpleForm>
            </Items>
            <Toolbars>
                <f:Toolbar ID="Toolbar1" runat="server" Position="Bottom" ToolbarAlign="Center">
                    <Items>
                        <f:Button ID="btnSaveClose" ValidateForms="SimpleForm1" Icon="SystemSaveClose"
                            OnClick="btnSaveClose_Click" runat="server" Text="保存并关闭">
                        </f:Button>
                        <f:ToolbarSeparator ID="ToolbarSeparator2" runat="server">
                        </f:ToolbarSeparator>
                        <f:Button ID="btnClose" Icon="SystemClose" EnablePostBack="false" runat="server"
                            Text="关闭" DisableControlBeforePostBack="True">
                        </f:Button>
                    </Items>
                </f:Toolbar>
            </Toolbars>
        </f:Panel>
        <f:HiddenField ID="hdFileId" runat="server"></f:HiddenField>
    </form>
</body>
</html>
